<?php
/* @var $this PriceTypesController */
/* @var $model PriceTypes */
/* @var $form CActiveForm */
?>
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'price-types-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php if(count($model->getErrors())):?>
		<div class="alert alert-error">
			<?php echo $form->errorSummary($model); ?>
		</div>
	<?php endif;?>
	
	<div>
		<?php echo $form->labelEx($model,'PTP_NAME'); ?>
		<?php echo $form->textField($model,'PTP_NAME',array('size'=>60,'maxlength'=>255)); ?>
	</div>

	<div>
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Создать' : 'Сохранить'); ?>
	</div>

<?php $this->endWidget(); ?>